<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div id="app">
  <h2>{{message}},阿絮</h2>
  <!-- Mustache语法（也就是双大括号），不仅仅可以直接写变量，也可以写简单的表达式 -->
  <h2>{{firstname+' '+lastname}}</h2>
  <h2>{{firstname}} {{lastname}}</h2>
  <h2>{{counter * 2}}</h2>
</div>

<script src="../js/vue.js"></script>
<script>
    const app=new Vue({
        el: '#app',
        data: {
          message: 'ni',
          firstname: 'zhou',
          lastname: 'zishu',
          counter: 100
        }
    })
</script>
</body>
</html>